import type {RNPackageContext, RNPackage} from '@rnoh/react-native-openharmony/ts';
import { SslPinningPackage } from "@react-native-oh-tpl/react-native-ssl-pinning/ts";
import {RNRealmPackage} from '@react-native-oh-tpl/realm/ts';
import {RNBuglyPackage} from '@react-native-oh-tpl/rn-bugly/ts';
import {RNFileSelectorPackage}  from '@react-native-oh-tpl/react-native-file-selector/ts';
import {SafeAreaViewPackage} from '@react-native-oh-tpl/react-native-safe-area-context/ts';
import { RNCPickerPackage } from '@react-native-oh-tpl/picker/ts';
import { VisionCameraModulePackage } from "@react-native-oh-tpl/react-native-vision-camera/ts";
import { GestureHandlerPackage } from '@react-native-oh-tpl/react-native-gesture-handler/ts';
import { ReanimatedPackage } from '@react-native-oh-tpl/react-native-reanimated/ts';

export function createRNPackages(ctx: RNPackageContext): RNPackage[] {
  return [
    new SslPinningPackage(ctx),
	new RNRealmPackage(ctx),
	new RNBuglyPackage(ctx),
    new RNFileSelectorPackage(ctx),
    new SafeAreaViewPackage(ctx),
    new RNCPickerPackage(ctx),
    new VisionCameraModulePackage(ctx),
	new GestureHandlerPackage(ctx),
	new ReanimatedPackage(ctx),
  ];
}
